/*
 * @Author: zhengzhuang
 * @Date: 2021-01-15 14:11:14
 * @LastEditors: zhengzhuang
 * @LastEditTime: 2021-01-26 11:54:21
 * @Description: 单独请求类 SeparateRequest
 * @FilePath: /C20Driver/lib/service/separate_request.dart
 */
import 'package:C20Driver/service/separate_request_service.dart';

class SeparateRequest {
  /// 单独
  /// action_name ==> 'a001' 余额  或者 action_name ==> 'a002' 账单流水
  static void actionDatas(String actionName, int time) async {
    await SeparateRequestService().request(
        ReqMethod.POST,
        // "http://root.maitianshanglv.com/api/action_datas/add",
        "http://cms.130.maitianshanglv.com/api/action_datas/add",
        params: {"action_name": actionName, "identification": time});
  }
}
